/*
 $Id: transfer.h,v 1.2 2005/06/05 11:27:50 olivier Exp $
 +----------------------------------------------------------------------+
 | Copyright : mFactories 2001, 2005 
 +----------------------------------------------------------------------+
 | Projet : DataStructure
 +----------------------------------------------------------------------+
 | $Source: /cvs/DataStructure/DataStructureLib/include/transfer.h,v $
 | $Author: olivier $
 | $Date: 2005/06/05 11:27:50 $
 | $Revision: 1.2 $ 
 +----------------------------------------------------------------------+
 | Description :                                              
                          
 +----------------------------------------------------------------------+
 | Historique :
 $Log: transfer.h,v $
 Revision 1.2  2005/06/05 11:27:50  olivier
 - Correction pour gcc

 Revision 1.1  2005/05/20 22:31:04  olivier
 First Commit


 +----------------------------------------------------------------------+
*/

#ifndef TRANSFER_H
#define TRANSFER_H

#ifdef __cplusplus
	extern "C" {
#endif /* __cplusplus */

int transfer_recv_compress( int s, unsigned char ** data, unsigned long * taille, int flags );
int transfer_send_compress( int s, const unsigned char * data, unsigned long taille, int flags );

/*
int transfer_recv_compress_file( int s, const char * path, char ** filename, size_t blocsize ); 
int transfer_send_compress_file( int s, const char * file, size_t blocsize );
*/

#ifdef __cplusplus
	}
#endif /* __cplusplus */

#endif /* TRANSFER_H */
